package apiv1

import "github.com/gogf/gf/v2/frame/g"

type LoginReq struct {
	Name  string `v:"required|length:4,30#请输入账号|账号长度为:4到30位"`
	Pass  string `p:"password"`
	g.Meta `path:"/login" tags:"Login" method:"get" summary:"Login is api"`
}
type LoginRes struct {
	g.Meta `mime:"text/json" example:"{'code':200,'msg':'ok'}"`
}